package com.second.app.thread.interrupt;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class InterruptTest {
    public static void main(String[] args) {
        try {
            MyThread thread = new MyThread();
            thread.start();
            Thread.sleep(1000);
            thread.interrupt();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
